package com.a01_2021.thousandstimes.instance.service;

import com.a01_2021.thousandstimes.exception.CustomException;
import com.a01_2021.thousandstimes.instance.entity.Interpolate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author E1xP
 * @since 2021-03-10
 */
public interface IInterpolateService extends IService<Interpolate> {

    HashMap<String, Object> interpolate(long userId, String introduction, List<String> attachment) throws CustomException;

    boolean isInterpolate(long interpolateId);
}
